<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>元素的定时执行</title>
</head>
<body>
        <script>
          function foo() {
            console.log("aa")
          }
          function foo2() {
            console.log("bbb")
          }
          setInterval(foo2,50)

        </script>

</body>
</html>